﻿using Lrd.Permissions.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace LrdPermissions.EntityConfiguration.Identity
{
    public class UserConfiguration : IEntityTypeConfiguration<User>
    {
        public void Configure(EntityTypeBuilder<User> builder)
        {
            builder.Property(m => m.ConcurrencyStamp).IsConcurrencyToken();
        }
    }

   
}

/// <summary>
/// 实体类：用户信息
/// </summary>
[Description("用户信息")]
public class User : UserBase<Guid>
{

    public User()
    {
        Id = Guid.NewGuid();
    }
    /// <summary>
    /// 获取或设置 备注
    /// </summary>
    [DisplayName("备注")]
    public string Remark { get; set; }


}
